projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd536d8
)
common:splash: use __weak
author
Jeroen Hofstee
<
[email protected]
>
Thu, 26 Jun 2014 17:53:16 +0000
(19:53 +0200)
committer
Tom Rini
<
[email protected]
>
Fri, 18 Jul 2014 21:53:23 +0000
(17:53 -0400)
This not only looks a bit better it also prevents a
warning with W=1 (no previous prototype).
cc:
[email protected]
Signed-off-by: Jeroen Hofstee <
[email protected]
>
common/splash.c
patch
|
blob
|
history
diff --git
a/common/splash.c
b/common/splash.c
index 18885f1bfe6e6878633cbe80affaef89c2b93f20..144fb10ddda36d1855d72ac8ac312e29346cc45b 100644
(file)
--- a/
common/splash.c
+++ b/
common/splash.c
@@
-23,15
+23,11
@@
#include <common.h>
#include <splash.h>
-
int __
splash_screen_prepare(void)
+
__weak int
splash_screen_prepare(void)
{
return 0;
}
-int splash_screen_prepare(void)
- __attribute__ ((weak, alias("__splash_screen_prepare")));
-
-
#ifdef CONFIG_SPLASH_SCREEN_ALIGN
void splash_get_pos(int *x, int *y)
{